package com.example.dao;

import com.example.entity.DietRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DietRecordDao {

    List<DietRecord> findAll();


    int insert(DietRecord dietRecord);


    int delete(@Param("dietrecordid") Integer dietrecordid);

    int update(DietRecord dietRecord);

    DietRecord findDietRecordById(Integer id);
}
